package com.eam.dao;

import java.util.List;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.eam.bean.Asset;

public interface AssetDAO {

	public boolean save(Asset transientInstance);

	public boolean delete(Asset persistentInstance);

	public boolean update(Asset persistentInstance);

	public Asset findById(java.lang.Integer id);

	public List findByExample(Asset instance);

	public List findByProperty(String propertyName, Object value);

	public List findByName(Object name);

	public List findByNum(Object num);

	public List findByValue(Object value);

	public List findByStatus(Object status);

	public List findBySpec(Object spec);

	public List findByDepartmentId(Object departmentId);

	public List findAll();

	public Asset merge(Asset detachedInstance);

	public void attachDirty(Asset instance);

	public void attachClean(Asset instance);

}